package com.ssy.lingxi.system.dao;

import com.ssy.lingxi.system.entity.MemberConfig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface MemberConfigRepository extends JpaRepository<MemberConfig, Long> {
    Boolean existsByTagEnum(Integer tagEnum);

    Boolean existsByTagEnumAndIdNot(Integer tagEnum, Long id);
}
